package com.mz.mattress.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mz.mattress.api.entity.OrderData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface OrderDataMapper extends BaseMapper<OrderData> {

    @Select("select * from mz_order_data where months=#{months} and deleted=0")
    OrderData selectByMonth(@Param("months") Integer months);

}
